package org.dromara.wms.domain.vo;

import java.math.BigDecimal;
import org.dromara.wms.domain.WmsWarehouse;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 仓库管理视图对象 wms_warehouse
 *
 * @author wenrui
 * @date 2024-03-22
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = WmsWarehouse.class)
public class WmsWarehouseVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 仓库ID
     */
    @ExcelProperty(value = "仓库ID")
    private Long id;

    /**
     * 库位上级
     */
    @ExcelProperty(value = "库位上级")
    private String parentId;

    /**
     * 仓库祖籍
     */
    @ExcelProperty(value = "仓库祖籍")
    private String ancestors;

    /**
     * 仓库名称
     */
    @ExcelProperty(value = "仓库名称")
    private String name;

    /**
     * 位置
     */
    @ExcelProperty(value = "位置")
    private String location;

    /**
     * 面积
     */
    @ExcelProperty(value = "面积")
    private BigDecimal acreage;

    /**
     * 负责人
     */
    @ExcelProperty(value = "负责人")
    private Long userId;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_status")
    private String status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
